package game;

import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.Image;
import org.newdawn.slick.Input;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.state.BasicGameState;
import org.newdawn.slick.state.StateBasedGame;

import components.Item;
import components.Space;

public class Singleplayer extends BasicGameState{


	public Singleplayer(int state){

	}

	public void init(GameContainer gc, StateBasedGame sbg) throws SlickException {
	}

	@Override
	public void render(GameContainer gc, StateBasedGame sbg, Graphics g) throws SlickException {
		
	}

	@Override
	public void update(GameContainer gc, StateBasedGame sbg, int delta) throws SlickException {

		Input in = gc.getInput();

		if(in.isKeyDown(Input.KEY_ESCAPE)){
			sbg.enterState(0);
		}
	}

	@Override
	public int getID() {
		return 1;
	}


}
